Fast Python: High performance techniques for large datasets (for True Epub) by Tiago Rodrigues Antão

Fast Python: High performance techniques for large datasets (for True Epub) by Tiago Rodrigues Antão

Author:Tiago Rodrigues Antão [Antão, Tiago Rodrigues]
Language: eng
Format: epub
Publisher: Manning Publications Co.
Published: 2023-04-23T22:00:00+00:00


Summary

Native Python, CPython, is not enough to implement the fastest code for complex operations.

There are many options to accelerate your Python-based code: using optimized libraries, lower-level languages, Numba, or even other Python implementations such as PyPy.

Cython is a superset of Python that compiles to C and provides C-like speeds without having to learn a new language.

Cython can be profiled in similar ways to Python code.

Writing efficient Cython code requires annotating Cython variables to provide type hints, which are different from the hints of standard mypy, and sometimes analyzing the generated C code from Cython.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.